make sure correct cursor