Change all IndexedSeq to Seq