fixing crash on iOS 6 due to incompletely filled out menu