Fix several link bug