- fix how URL base is calculated