fix a bug in energy ball