fix paginate
change deploy.rb