add energy, RK energy bug