Unbork smarty templates.