fixed non-amd case
Merge pull request #4 from b3nj4m/dev

fixed non-amd case