more corrections. param'd query. still need to fix first missing page and
single record missing between pages.