better fix for pagination style