corrections to make ReferenceEnergyCollator work