fixed search on empty search