bugfix in postprocessing