Remove the cursor code.