fixed long vs int linking error again