cursors and ref created

This should be just `equals`, shouldn't it?