removes surplus link from notes