fixed usage of amd mode