Fix iOS 6 pbm