Fix bug on Set_Track that deleted the energy information