Fixed smarty version