pickle + cleanup