fixes some latex