fix infinite recursion issue when using prefetch
Merge pull request #215 from jackalope/fix_prefetch_infinite_recursion_bug

fix infinite recursion issue when using prefetch