fix line ending problem