persistence cleanup