small fix for AMD