Fixed line ending problem