bool fields fix