fixing NL EOF