fix for amd