relaxed EOF marker by ignoring ITF8 hanging bits