fixed bug in is_email