Fix stream endpoint