made _filter instance field RAII