fixed newline EOL in main