fixed amd loading bug