remove warnings on iOS 7.0
only support 7.0