remove nested link struct