modify the base path