Refresh tokens error fix