another attmpt on fixing cache