fix inmem merging, working tf-idf