correct .ecorediag