fixes AMD definition