fix rename writes to source