fix auto layout in iOS 6