remove obsolete links