fixes #1 - fixed amd output issue