fixes for iOS 5.1 compatibility