added initial check to postprocessing worker