tex fixes