ios 7 version, with some problem with alert