Fix iOS7 issue