made bool fields nullable