added data-restore at initialization.