used reference for cache value instead of interpreted array, fixing