menu item valuidation, update to XCode 4.6
null pointer checks