delete unneccessary lines.