hack for dealing with old lists, maps and sets