fixing amd exports