fixed external link expansion