correct latex and typo errors