fix some waring

some things have been instead in ios 6.0