fixing streams/index