fix the cache-clear command