fixed link offset bug.