Fixed a bug, email validation should be finished