Fix typo in stream function.