fixed encode in reset password