Fixed missed line ending problems