amd cleanup