fixed mixed line ending format