fixed a bug in DataTypeBuilder#setSingleton;

change the converter to set singleton instances