more tex fixes