bug fixed for iOS.