clean up in triangulation