latex cleanup