fix the tag filter