fix custom type additional attributes