enable paginate in cycle