Fix ios7 crash