doc cursor position typo