removing references to old symlinks