set url.path to / as default on base, to prevent errors when undefined