add wait for UIAActivityIndicator
merge