correct invocation of static methods as filters