make sure it works in iOS 5