Fix to disable latex