Fixed bug: it would not print done when it should.