update to Smarty 3.1.16 #418