restore the cursor position after rename