(debugged) uncaught error when marking done an already done task. closes #58.