migrate to min-streams