fixed EOF newline