Fix new task()