fix rename exists compile error.
WIP with reference linking in logs.