Fix duplicated supervisor bug.