fix compile
allow serialization of bools