Fix bug in getStreamInfo