Fix error with register email