use bloom filter; fix relationships bug