fix some AMD-related issues