fix mutability in bloom filter