fixed reset password bug