changes for pagination(1178)