fixing math titles