cleanup in tex