fixed newline issue in files