[iOS7] fix for iOS7