fix data type selection