fixed non-amd case