make sure we reset the cursor to 0,0 in commits