a Fix to the infinite energy sink bug in Chargeplatforms