fix one bug in searchbyemail