fixed links and latex