fix gc for iOS 6,7