fix error on email field