TexMaths extension not working with the Libreoffice 6.4.3.2

I recently updated to libreoffice 6.4.3. and I realized that the TexMaths(0.48) extension is not working.

I get an error that the path to latex is not correct. Upon entering the path /usr/bin/latex (as it is in my case) it still refuses to work.

Is there any issue with permissions in accessing this path?
Suggestions to solve this are welcome