add limited support for renaming detection