cleaning up latex warnings