Fix bug where name had changed