Error fix for task ID