fix documentation for getCursor