make the create_task_spec work