Fixed some bugs with iOS 7.1 testing