fix type_arg ids