amd loading cleanup