fixed a typo in stream function stuff