Fixed the variable names for links.