fixed WebKit navigation issues