fixed ermodel