fixed the extra space in latex version