fixed bug then accessToken is sended to server