added missing param to wrapAMD call