[fix_bulk_filtering] remove unused variables