fix fallback for websockets