temp fix for pagination