fixed visitor problem