line clean up