spaces in types replaced by dashes