Fix cleancache crash