misc update for Smarty