changes to TF-IDF command to fix duplicate readout