diff --git a/html/src/app.js b/html/src/app.js
index fb39f33c..f22ce4b9 100644
--- a/html/src/app.js
+++ b/html/src/app.js
@@ -1169,7 +1169,7 @@ speechSynthesis.getVoices();
if (this.instance.ownerId === API.currentUser.id) {
this.canCloseInstance = true;
}
- if (this.instance.ownerId.startsWith('grp_')) {
+ if (this.instance?.ownerId?.startsWith('grp_')) {
// check group perms
var groupId = this.instance.ownerId;
var group = API.cachedGroups.get(groupId);