fix a forcing value to bool 'true' or 'false' warning