fix method createType2