Visits querys finish