fix syntax error for links