improve boolan rendering