fixes to bogus example copied over from balanced