 Do you have any solution for TODO: Find out why the cursor returns to the beginning