fix multiple response for ws and sse