fix rename topic function.