remove unneeded whitespace
also check EOL for header
simply return