fix duplicate use of "name"