fix torch