modify links afterwards