fixed cursor / conn confusion