limit final cursor position