fix websocket status counter