fixed the mail to validation error