Fix!
No longer use smarty function, but work around cases
where it might be pre-installed from Telaen 1.x