fix lose data