fixes in tex

some parameter changing on clasees