use one leveldb instead of two