Fixed one or two things for the latex template