handling exchange type stream or not