fix some objc warnings