Fix: fixed root url computation