fix the AMD style