fix warning with xcode