Bugfix in process output logic.