Fix type in stream fix