improved postprocessing