fix base_uri setting