fixed hide buttons when 0 resoults and clear search params and results after leaving the search