Fixed iOS7 warnings