ok pagination
add checkReady for pagination
fix perpage