hack fix for pagination formatting