removing amd define