remove redundant toSeq