Fixed the url resolution problem