Fix for rename command