latex fixes