remove non needed lines