added line feed normalization