fixed bug of duplicates being prefetched