fixed problem with loopscope on production cache