Fixing list renaming bug