changed printvisitor

changed PrintVisitor