removing obsolete links