boolean attribute bugfix