cleanup in tex file