fixing will paginate