bug fix: line separators are now handled correctly.