diff --git a/src/port.js b/src/port.js
index 74523ae8dafc658590a529e5391b67156913da58..b2541311a7dddb85071f02321f8a4bb74cfb6eae 100644
--- a/src/port.js
+++ b/src/port.js
@@ -20,7 +20,7 @@
 */
 
 import { Constants } from './enums.js';
-import { DEBUG } from './utils.js';
+import { DEBUG, arraybuffer_to_str } from './utils.js';
 import { SpiceConn } from './spiceconn.js';
 import { SpiceMsgPortInit } from './spicemsg.js';