Use tex clean method

At this time, this method is only in development