fixed visitor parsing issue