serious fix in sorting stations and streams