fix the bug that work flow's current node set incorrectly