modif log(0), reconnection of graphs, fix bugs