Cleaning line ends