fix for using cursor without limit