binary int fixing