changed param_parts to carry the task id which corrected the problem