Fix EOF
Merge pull request #4355 from lucasmichot/fix

Fix some EOF