fix error in makeStringType