handle empty searches