base url correction