fix reset password issue