check if type has constructor and default value on conversion error