Fix crash issue on iOS 6 #76