fixing ddict opts to work with tuples