bandaid for pagination