BAC-162: remove unused function and handler in rename routine