Fixing no websocket conditions