fixing latex