fixed bug retrieving stream for request