delete empty line in the EOF