apply base url