for smarty backup