fix websocket receiver registration.