fixing lineendings