Fix reference to nonexistent object