Fixed things in iOS

#653