fixed boolean fields not retaining value