Fix bug: avoid task name truncation.