fix ios7 issue