delete lines that not in use