fix Smarty version