Fixed bug with pdftex (for mac)