Removed referencing attribute of undefined variables #MIFOSX-1650 #MIFOSX-1661