fix rename bug