some simplification for TypeConverter