fixing linking error

Contining to fox linking error