fixing bug stream blocked