fix for amd modules