- fix compatible for iOS6 vs iOS7