fixed ios 7 issue