make document filters work