fix amd&&cmd