fix bug that amd support error