Fix the renaming bug.