fix the cursor issue :)