small bug on first visit index