fix bug reset password