diff --git a/webapp_profile.py b/webapp_profile.py
index 444a16da4..d38882b51 100644
--- a/webapp_profile.py
+++ b/webapp_profile.py
@@ -827,23 +827,25 @@ def htmlProfile(signingPrivateKeyPem: str,
' '
- profileStr += \
- ' ' + \
- ''
+ if not isGroup:
+ profileStr += \
+ ' ' + \
+ ''
profileStr += \
' ' + \
''
- profileStr += \
- ' ' + \
- ''
- profileStr += \
- ' ' + \
- ''
+ if not isGroup:
+ profileStr += \
+ ' ' + \
+ ''
+ profileStr += \
+ ' ' + \
+ ''
# profileStr += \
# ' ' + \
# '