fix infinite Energy Config Bug