add group support and modify getAmbiguousParams in URLData class