fix for amd support