The loadRequest method is asynchronous, meaning that when the method returns, it's very likely that it hasn't finished loading the first web page. So when you uncomment those two lines, probably the second request is being executed while the first one hasn't finished.
You should execute the second request in the UIWebViewDelegate's webViewDidFinishLoad: method.