fix unpickling with non-existant namespace