when formatting uri with preserve_next and no next, to to index