remove unnecesery strings from summary file