fixed slight linking error