fixed external link conditional