fix removing unused files