fixed latex support