fix to latex pdf