fix type field name