search empty strings better