url forming bug