fix VisitCommandNode