no longer allow type=null; set 'string' as its default value