clear cache when restoring backup