fix will paginate 2 query paginate hook