refact default task.