access token generation fix