fixed issue with cache names not being generated appropriately