Fixed AMD loading snippet.