fixed latex compile