handle bools properly