ensure cursors are positioned properly from the beginning