Fix inconsistent name of cache variable