fixed cache insert