safely deref position cursor