fixed persistent cursor