fix accents and math errors inside .bib file