fixing AMD export