fix for Bool in immutable structs