change EOR code ( stricter on parsing too )