fixed a renaming bug.