improve filter functionality and display