use @CompileStatic on the filter