fixed line ending problems - once again