Fixed iOS 7 crash (used iOS 8 string functionality)