pickle + save fix