clean up latex