upgrade to Smarty 3.1.17