fix linkage attribute