cleanup, tex additions