Fix rename bug.