change boolean fields from string/integer to boolean