fix bugs:cursor is closed