improve link content extraction