cleans persistent data