fix exception name for boolean expressions