websocket and redis fixes