fix warning due to iOS7 upgrade.