use NSNumber instead of bool