Fix paginate path