Fixed a link bug and a latex bug