correct the linkage