solve the data lose