Fixing amd deps