fix initial AFL/PFL state after session-load