removing latex garbage used for presentation