fixed a duplicate symbols linker error