fix refresh token issue Issue #251