linkage bug fix