completed reference renaming using a prefix