Use correct variable name for supervisor state.