fix miss type in Gadget relation