fixup data type