add URL and remove base path