add line-ending