Fix clear_caches call