diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c
index 215ea6910d..3b780dba3b 100644
--- a/src/mod/endpoints/mod_sofia/mod_sofia.c
+++ b/src/mod/endpoints/mod_sofia/mod_sofia.c
@@ -1830,7 +1830,7 @@ static switch_status_t cmd_xml_status(char **argv, int argc, switch_stream_handl
if (strcasecmp(argv[1], profile->name)) {
stream->write_function(stream, " %s\n", switch_str_nil(profile->name));
}
- stream->write_function(stream, " %s\n", switch_str_nil(profile->dbname));
+ stream->write_function(stream, " %s\n", switch_str_nil(profile->dbname));
stream->write_function(stream, " %s\n", switch_str_nil(profile->presence_hosts));
stream->write_function(stream, " %s\n", switch_str_nil(profile->dialplan));
stream->write_function(stream, " %s\n", switch_str_nil(profile->context));
@@ -1933,7 +1933,7 @@ static switch_status_t cmd_xml_status(char **argv, int argc, switch_stream_handl
sofia_test_pflag(profile, PFLAG_RUNNING) ? "RUNNING" : "DOWN", profile->inuse);
if (sofia_test_pflag(profile, PFLAG_TLS)) {
- stream->write_function(stream, "\n%s\n%s\n%s\n%s (%u) (TLS)\n\n", profile->name, "profile", profile->tls_url,
+ stream->write_function(stream, "\n%s\n%s\n%s\n%s (%u) (TLS)\n\n", profile->name, "profile", profile->tls_url,
sofia_test_pflag(profile, PFLAG_RUNNING) ? "RUNNING" : "DOWN", profile->inuse);
}