cleanup persistent data