fixed some errors in xcode project