fixed EOF whitespace issue