set base_path