fix bug in TaskContent