fixed empty cursor bug