fix type id