fix multiple linkage issue