fix latex setting