bool improvements

Change-Id: I6798bcb995cf68f4a7121b0cfe3712a3564584ea