fix timeout from cache code