changed the tag filtering