fixed iOS 5 crash