fix the access token bug