clean up filter
Bugix: now there can be spaces around filter names
Bufix: search result (when  is null)