Fixed compatibility with bool