fix sizes of datatypes