fixing url structure