fix decoder in task.run