fix for energy post-processing