fixes in SequenceGroup and FixedSequenceGroup