fix linux int not zero bug