fixed paginate bug
Merge branch 'master' of github.com:jinwen/ninja
add name