fix workload finish state