add paginate to YAML