fix bad line ending