fixed bug in boolean attribute