normalizes amd correctly