Added method to remove prefix paths of urls.
Merged url caching to wrong_url_workaround.
Fixed the handling of wrong target urls.