boolean values being stored properly in db