cleanup of energy_for_zoom