set correct base_uri