fix mem-store's broken hashes