fixed cache factory