set base path.