Fix `done' appearing in the wrong place.