ios6 crash fix