fixed issue on email validation