fix boolean attribute example