correct processing line feed in string