Fix iOS7 crash (#280)