fixes display error in TaskDetail