fix a little bug, about the root is one state