Set ouput_bit to 0 instead of cast error