fixed smarty plugins