improve filter when the filter string is empty