Finally fixed cursorOnPositions