amd callback fix