fix VisitCommandNode
fix ParseIf