fixed resetPassword