Fix iOS 7.0.x bug