fixed bug where donetext was not being rendered at the correct time.