fix for rename command