Fix bug

Introduced a bug by duplicating a name.