upgraded smarty to 3.14