fix: sometimes data lost error fixed