remove redundant toList, work with Seq