Fixed variable assignment bug in rename()