fixed the way bools are loaded from config