filter a content for detecting environment