check task_id value