fix bugs in unpacking parallel runs