Clean up link numbering