replace binary connection stat to xml connection stat