fixes a funny error in custom collection picklers