fixed another cache bug