fix for empty search string