torch fix