fixed issue where objc_msgSend call causes EXC_BAD_ACCESS using 64-bit architecture.