fixing tex