correct relative base url