fix another error in rename