change default value of task.status to 0