refactored the websocket so it reports correctly to loads