change StreamFilter.scala