fixup type