fix Torch