Fixed parseUrl assignment