Fix refresh token bug