fixed regression bug in SequenceParser