Fixed EXC_BAD in CFArrayGetCount