remove Smarty occurences