remove old data before restore
small changes