Latex fixing some stuff