there are other usage of `bool`, which should be fixed as well.