Fix for reset password