fixed a bug in the EchoService