fix rememberMe bug