fixed support websockets bug