fix obvious mistakes in prefetcher, still not working (one function not written)