remove test code in torus