fix wf parse exception