fixed bug for setValue in refreshAccessToken