some changes to the tex