addressed issues in boolean