fix:return NSError