fix for task completion