make loading of bool values more stable