solve the ugly linker error