fix todo.py unpickling of ua data