fixed rename bug.