fixed EoR crash