get rid of source type from stream