change protocol signature to use NSUInteger instead of int
fix string formatting errors when using NSInteger and %i