fixed prefetch bug