fixed error message event from swamp socket