fixed problem where cursor stops after 10k results