fix for password reset