removed triling line ends, added debugger ref