fix handling errors on mismatched email