fixing linker error