convert booleans to 0 + boolean value