Fixed a hang: unsigned int -> NSUInteger