fixing LD issue