fix mid_nodes()