Bugfix for parsing URLS