fix dump data when restart app