fix statement links in the outline