remove redundant base url generation