add minor fixes to type’s customization