websocket: remove logs
websocket: better backend function