fix in case email is empty