fixes password reset