Fix state.