made minor error fix to link.rb