diff --git a/client/Mac/CMakeLists.txt b/client/Mac/CMakeLists.txt
index 75b62161a..71d912e29 100755
--- a/client/Mac/CMakeLists.txt
+++ b/client/Mac/CMakeLists.txt
@@ -151,7 +151,7 @@ endif()
COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/$(CONFIGURATION)/${MODULE_OUTPUT_NAME}.framework/Versions/${MACOSX_BUNDLE_SHORT_VERSION_STRING}/Resources)
# Compile the .xib files using the 'ibtool' program with the destination being the app package
- foreach(xib ${${MODULE_NAME}_XIBS})
+ foreach(xib ${${MODULE_PREFIX}_XIBS})
get_filename_component(XIB_WE ${xib} NAME_WE)
add_custom_command (TARGET ${MODULE_NAME} POST_BUILD
diff --git a/client/Mac/PasswordDialog.xib b/client/Mac/PasswordDialog.xib
index 5d98e2a7a..afdd957c7 100644
--- a/client/Mac/PasswordDialog.xib
+++ b/client/Mac/PasswordDialog.xib
@@ -239,7 +239,7 @@
272630784
- billg
+ Username
_NS:9
YES