Fix bool sub attribute