fixed bug in index controller cache