page/offest not known when using cursor