enhanced EOL missing close errors