fix xcode can not compile

fix xcode can not compile cuz by my last commit.