cls,eopt: compatability fixes
eopt: typo