add handling of eom window setting