tex improvements