Fixed backwards compatible issue on cache with instantiating an array