server stateChecking fix