fixed error double echo