Fix task spec.