fixes #6 email validation