replace task type with task domain