fix defer link