little bug fix in Link class