Fix iOS 6.1 related crash