adapt to changed key (new_type_name -> type_name)