deep boolean bugfix