infinite scroll error fix