Fix change state on the server.