Fix bug in plotlod; need uchr[i] rather than i in several places