fix for base url creating