fixes for dumb cursor management mistakes on my part