possible fix for paging mssql