fixed explicit types in streaming package