fix APi rhogen for iOS