Bug fix in url parsing.