bug fix at VisitOrNode