invalid email displayed properly