solve link problem