fixed rename bug