Fix an error on server after reconnect