fix torch app