Remove link before creating again to prevent nesting