removing the cursor