LIne ending normalization