(bluefox) fix error with binary states