remove leftover EOL from string passed to Println