(bluefox) change state type 'bool' to 'boolean'