Fixed the energy counter :)