fix bug crash map tool in iOS 7