handle empty search