paginate path modification