fix old link IDs