making filter box only element and a search type