fix a bug of creating wf