solve link bug