fixed closed cursor access after upstream merge