diff --git a/data/web/js/site/mailbox.js b/data/web/js/site/mailbox.js
index d7fca848d..3ddeea944 100644
--- a/data/web/js/site/mailbox.js
+++ b/data/web/js/site/mailbox.js
@@ -1458,30 +1458,37 @@ jQuery(function($){
}
function draw_bcc_table() {
$.get("/api/v1/get/bcc-destination-options", function(data){
+ var optgroup = "";
// Domains
- var optgroup = "";
- $('#bcc-local-dest').append(optgroup);
- // Alias domains
- var optgroup = ""
- $('#bcc-local-dest').append(optgroup);
- // Mailboxes and aliases
- $.each(data.mailboxes, function(mailbox, aliases){
- var optgroup = "