fixed email checking