incorrect argument passed to cache generation