trim bloom filter string