removes usages of global.gen.mkTuple