Changed params order for stream_take function