change to filter_block std::unique_ptr support RAII