diff --git a/themes/rainbowstone/template/includes/Avatar.ftl b/themes/rainbowstone/template/includes/Avatar.ftl
index 6a72f90148..347722eb64 100644
--- a/themes/rainbowstone/template/includes/Avatar.ftl
+++ b/themes/rainbowstone/template/includes/Avatar.ftl
@@ -31,13 +31,9 @@ under the License.
#if>
onclick="javascript:location.href='/partymgr/control/viewprofile?partyId=${userLogin.partyId}'"#if>>
- <#if person?exists>
- <#if person.firstName??>
- ${person.firstName}
- ${person.lastName?upper_case}
- <#else>
- ${userLogin.userLoginId}
- #if>
+ <#if (person.firstName)?? && (person.lastName)??>
+ ${person.firstName}
+ ${person.lastName?upper_case}
<#else>
${userLogin.userLoginId}
#if>