fix rename adapter