change smarty processing