diff --git a/crates/app/src/public/html/communities/create_post.lisp b/crates/app/src/public/html/communities/create_post.lisp
index 6f83326..3d1b965 100644
--- a/crates/app/src/public/html/communities/create_post.lisp
+++ b/crates/app/src/public/html/communities/create_post.lisp
@@ -226,7 +226,7 @@
content: e.target.content.value,
community: !is_selected_stack ? selected_community : \"0\",
stack: is_selected_stack ? selected_community : \"0\",
- topic: e.target.topic.selectedOptions[0].value,
+ topic: (e.target.topic || { selectedOptions: [{ value: \"0\" }] }).selectedOptions[0].value,
poll: poll_data[1],
title: e.target.title.value,
}),