fixing up server for iOS