Reset line ends