cleanup and prep for prefetch