clean up unneeded lines