page fix for pagination component